package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.OrganizationDO;
import com.ruyuan.user.server.repository.bean.OrganizationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrganizationMapper {
    long countByExample(OrganizationExample example);

    int deleteByExample(OrganizationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrganizationDO record);

    int insertSelective(OrganizationDO record);

    List<OrganizationDO> selectByExampleWithBLOBs(OrganizationExample example);

    List<OrganizationDO> selectByExample(OrganizationExample example);

    OrganizationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrganizationDO record, @Param("example") OrganizationExample example);

    int updateByExampleWithBLOBs(@Param("record") OrganizationDO record, @Param("example") OrganizationExample example);

    int updateByExample(@Param("record") OrganizationDO record, @Param("example") OrganizationExample example);

    int updateByPrimaryKeySelective(OrganizationDO record);

    int updateByPrimaryKeyWithBLOBs(OrganizationDO record);

    int updateByPrimaryKey(OrganizationDO record);
}